package com.javagroup.chessonline.callback;

import com.javagroup.chessonline.view.LobbyView;

public class JoinLeagueCallback implements Callback {
	private LobbyView mLobbyView;
	private int mLeagueId;
	
	public JoinLeagueCallback(LobbyView lobbyView, int id) {
		this.mLobbyView = lobbyView;
		this.mLeagueId = id;
	}

	@Override
	public void perform() {
		mLobbyView.showLeagueRooms(mLeagueId);
	}
	
	
}
